package com.ruoyi.huoyun.auth.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 货主的认证信息对象 user_consignor_auth
 *
 * @author mj
 * @date 2021-11-29
 */
public class UserConsignorAuth extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 标识 */
    private Integer id;

    /** 货主认证的手机号 */
    @Excel(name = "货主认证的手机号")
    private String telephone;

    /** 货主的姓名 */
    @Excel(name = "货主的姓名")
    private String name;

    /** 货主的身份证正面 */
    @Excel(name = "货主的身份证正面")
    private String idFront;

    /** 货主的身份证反面 */
    @Excel(name = "货主的身份证反面")
    private String idBack;

    /** 货主的营业执照 */
    @Excel(name = "货主的营业执照")
    private String businessLicense;

    /** 审核（0未审核 1通过 2未通过） */
    @Excel(name = "审核", readConverterExp = "0=未审核,1=通过,2=未通过")
    private String authStatus;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setTelephone(String telephone)
    {
        this.telephone = telephone;
    }

    public String getTelephone()
    {
        return telephone;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setIdFront(String idFront)
    {
        this.idFront = idFront;
    }

    public String getIdFront()
    {
        return idFront;
    }
    public void setIdBack(String idBack)
    {
        this.idBack = idBack;
    }

    public String getIdBack()
    {
        return idBack;
    }
    public void setBusinessLicense(String businessLicense)
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense()
    {
        return businessLicense;
    }
    public void setAuthStatus(String authStatus)
    {
        this.authStatus = authStatus;
    }

    public String getAuthStatus()
    {
        return authStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("telephone", getTelephone())
            .append("name", getName())
            .append("idFront", getIdFront())
            .append("idBack", getIdBack())
            .append("businessLicense", getBusinessLicense())
            .append("authStatus", getAuthStatus())
            .toString();
    }
}
